import {useCounterStore} from './counter'

export default function () {
    let Store =useCounterStore()
    return function () {
        //用闭包做缓存处理
        return Store
    }
}